package com.thoughtworks.studio.tools.cardkit;

import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

public class BeanFactory {
	private static XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource("beans.xml"));

	public static Object getBean(String beanName){
		return factory.getBean(beanName);
	}
}